<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>淘宝列表导航案例制作</title>
    <link rel="stylesheet" type="text/css" href="../css/reset.css">
    <style type="text/css">
        .taobao_list{
            float: left;
            margin: 20px 0;
            border-top: 1px solid #f4f4f4;
        }
        .taobao_list ul{
            width: 292px;
            overflow: hidden;
        }
        .taobao_list ul li{
            float: left;
            width: 71px;
            height: 75px;
            border: 1px solid #f4f4f4;
            border-top-color: transparent;
            border-left-color: transparent;
        }
        .taobao_list ul li a{
            text-align: center;
            display: block;
            font-size: 12px;
            color: #888;
        }
        .taobao_list ul li a span{
            margin-top: 10px;
            display: inline-block;
            width: 24px;
            height: 24px;
            background: url(../images/taobao_list.png) no-repeat 0 0;
            background-size: 24px 597px;
        }
        .taobao_list ul li a span.span1{
            background-position: 0 0;
        }
        .taobao_list ul li a span.span2{
            background-position: 0 -44px;
        }
        .taobao_list ul li a span.span3{
            background-position: 0 -88px;
        }
        .taobao_list ul li a span.span4{
            background-position: 0 -132px;
        }
        .taobao_list ul li a span.span5{
            background-position: 0 -176px;
        }
        .taobao_list ul li a span.span6{
            background-position: 0 -220px;
        }
        .taobao_list ul li a span.span7{
            background-position: 0 -264px;
        }
        .taobao_list ul li a span.span8{
            background-position: 0 -308px;
        }
        .taobao_list ul li a span.span9{
            background-position: 0 -352;
        }
        .taobao_list ul li a span.span10{
            background-position: 0 -396px;
        }
        .taobao_list ul li a span.span11{
            background-position: 0 -440px;
        }
        .taobao_list ul li a span.span12{
            background-position: 0 -484px;
        }
    </style>
</head>
<body>
    <div class="taobao_list">
        <ul>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span1"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span2"></span>
                    <P>游戏</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span3"></span>
                    <P>旅行</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span4"></span>
                    <P>购包</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span  class="span5"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span  class="span6"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span7"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span8"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span9"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span10"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span11"></span>
                    <P>充话费</P>
                </a>
            </li>
            <li>
                <a href="#">
                    <!-- 背景图 -->
                    <span class="span12"></span>
                    <P>充话费</P>
                </a>
            </li>
        </ul>
    </div>
</body>
</html>